package com.xiaoshuidi.cloud.module.rooms.convert.roomhouseinfo;

import com.xiaoshuidi.cloud.module.rooms.controller.admin.roomhouse.vo.RecordInfoDto;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.roomhouse.vo.RoomHouseInfoVO;
import com.xiaoshuidi.cloud.module.rooms.pojo.RoomHouseInfo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author hans.zhang
 */
@Mapper
public interface RoomHouseInfoConvert {
    RoomHouseInfoConvert INSTANCE = Mappers.getMapper(RoomHouseInfoConvert.class);

    RoomHouseInfo convert(RecordInfoDto recordInfoDto);

    RoomHouseInfoVO convert(RoomHouseInfo roomHouseInfo);
}
